package com.cmc.cloud.cmclink.doc.vo.voyagebsacbadetailvo;

import com.cmc.cloud.cmclink.common.filter.FilterGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 分类舱位自动批舱匹配条件 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class VoyageBsaCbaDetailBaseVO {

    @Schema(description = "cba主id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29653")
    @NotNull(message = "｛VoyageBsaCbaDetailBaseVO.voyageBsaCbaId.NotNull｝")
    private Long voyageBsaCbaId;

    @Schema(description = "匹配项json表达式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "｛VoyageBsaCbaDetailBaseVO.filterGroup.NotNull｝")
    private FilterGroup filterGroup;

}
